import java.io.File;
import java.io.IOException;

public class Demo01 {

    public static void main(String[] args) throws IOException {
        File file1 = new File("./Maykk.txt");
        System.out.println(file1.createNewFile());
        System.out.println("++++++++++++++++++++++++++++++++");
        File file2 = new File("./", "Maykk.xlsx");
        System.out.println(file2.createNewFile());
        System.out.println("++++++++++++++++++++++++++++++++");
        File file3 = new File("./");
        File file4 = new File(file3, "Maykk.md");
        System.out.println(file4.createNewFile());
    }
}